GDK W32: send both smooth and discrete scrolling events
authorРуслан Ижбулатов <lrn1986@gmail.com>
Wed, 12 Sep 2018 06:55:49 +0000 (06:55 +0000)
committerРуслан Ижбулатов <lrn1986@gmail.com>
Tue, 18 Sep 2018 13:52:35 +0000 (13:52 +0000)
commitd4098099ddeb1016faebc0846e59237ab9254a82
treeddd3e95401006460836bad66dc6235f96d37c39c
parent58cdd5139e7ba93fd9a7d52da72872027b0ddfb7
GDK W32: send both smooth and discrete scrolling events

Commit d64467b33475bf8358f66bec9450101f37c05e9c changed the
code to send GDK_SCROLL_SMOOTH with deltas instead of
GDK_SCROLL_(UP|DOWN|LEFT|RIGHT). Change it again, to send
both the GDK_SCROLL_SMOOTH and the GDK_SCROLL_(UP|DOWN|LEFT|RIGHT)
event separately (with the discrete event marked as emulated),
as this is what other backends (such as wayland) do.
gdk/win32/gdkevents-win32.c